class JslUser:
    user_name = "2f74c474e5e496c88048acd13a92e3e5"
    password = "3713a10b8ad739e7ba90fdc5329a9799b7d40579661a76604dacb4870c2edce9"
    _post_type = "ajax"
    auto_login = 1
    aes = 1
    return_url = "https://www.jisilu.cn/"
    org_username = "egg815766048"
#     password = "19880705liuyingJ"


class JslAPI:
    # login_url = "https://www.jisilu.cn/account/ajax/login_process/"
    login_url = "https://www.jisilu.cn/webapi/account/login_process/"


def jsl_user_dict(jsl_user):
    return dict((name, getattr(jsl_user, name)) for name in dir(jsl_user) if not name.startswith('__'))


jsl_user = JslUser()
jsl_api = JslAPI()
